/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'SimHei', sans-serif;
}

:root {
    --primary-color: #e74c3c;
    --primary-dark: #c0392b;
    --secondary-color: #3498db;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    min-width: 0;
    overflow: hidden;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-right: 10px;
    transition: var(--transition);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    transition: var(--transition);
}

/* 导航栏样式 */
nav {
    background-color: var(--primary-color);
    width: 100%;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-right: 10px;
    transition: var(--transition);
    border-radius: 4px;
}

.nav-logo-img {
    height: 40px !important;
    width: auto !important;
    display: block !important;
    visibility: visible !important;
}

.nav-logo h2 {
    color: var(--white);
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    transition: var(--transition);
}

.main-nav {
    display: flex;
    list-style-type: none;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.main-nav a:hover:after, .main-nav a.active:after {
    width: 70%;
}

.main-nav a:hover, .main-nav a.active {
    background-color: var(--primary-dark);
}

/* 下拉菜单 */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow);
    z-index: 1;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.dropdown-content a:after {
    display: none;
}

.dropdown:hover .dropdown-content {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

/* 移动端菜单图标 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 主要内容区域 */
main {
    margin-top: 0; /* 头部高度 + 导航高度 + 快速导航高度 */
    min-height: calc(100vh - 60px); /* 视窗高度减去底部高度 */
    padding: 20px 0;
}

/* 页面标题 */
.page-header {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.7) 0%, rgba(41, 128, 185, 0.7) 100%);
    opacity: 0.3;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.page-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

/* 统一页面标题样式 */
.page-header {
    height: 300px !important;
    background-color: #DC4E42 !important;
    background-image: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 !important;
}

.page-header:before {
    display: none !important;
}

.page-header .container {
    max-width: 800px !important;
    padding: 0 20px !important;
}

.page-header h1 {
    font-size: 3em !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.page-header p {
    font-size: 1.2em !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* 首页样式 */
.hero {
    height: 600px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hanzhong-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.5) 0%, rgba(41, 128, 185, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h2 {
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 22px;
    max-width: 700px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 景点特色分区 */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 30px;
}

.feature-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    position: relative;
    top: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.feature-img:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5));
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-img:before {
    opacity: 1;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.feature-card:hover .feature-img img {
    transform: scale(1.1);
}

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 12px;
}

.feature-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.feature-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* 轮播图样式增强 */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    transform: scale(1.08);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.08); }
    to { opacity: 1; transform: scale(1); }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.carousel-controls {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    transform: translateY(50%);
}

.carousel-control {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 18px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    opacity: 0;
}

.carousel:hover .carousel-control {
    opacity: 1;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicator.active {
    background: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(220, 78, 66, 0.8);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    text-align: center;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 700;
    letter-spacing: 1px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 0;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(220, 78, 66, 0.8);
    width: 0%;
    z-index: 4;
    transition: width 3s linear;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    z-index: 1;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .carousel {
        height: 500px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .carousel {
        height: 350px;
        border-radius: 0;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* 表格样式 */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    background-color: var(--white);
    overflow: hidden;
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: #f8f8f8;
    font-weight: bold;
    color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr {
    transition: var(--transition);
}

table tr:hover {
    background-color: #f0f0f0;
}

/* 表单样式 */
form {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background-color: #f9f9f9;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
    background-color: var(--white);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.input-error {
    border-color: var(--primary-color);
}

.error-message {
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 5px;
    position: absolute;
    bottom: -20px;
}

.button-container {
    text-align: right;
    margin-top: 20px;
}

button {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: var(--transition);
}

button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* 页脚样式 */
footer {
    background-color: #222;
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-section p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* 分类导航 */
.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
    width: 150px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.category-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    opacity: 0.1;
    transition: var(--transition);
    z-index: -1;
}

.category-link:hover:before {
    height: 100%;
}

.category-link:hover {
    transform: translateY(-8px);
    color: var(--primary-color);
}

.category-icon {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.category-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
    z-index: -1;
}

.category-link:hover .category-icon:before {
    opacity: 1;
    transform: scale(1.1);
}

.category-link:hover .category-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.category-link span {
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px;
    transition: var(--transition);
}

/* 分区样式 */
.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary-dark);
    margin-bottom: 8px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 浮动导航菜单 */
.float-nav {
    position: fixed;
    top: 50%;
    left: 25px;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-nav-toggle {
    width: 65px;
    height: 65px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    border: 3px solid rgba(255, 255, 255, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.float-nav-toggle:hover {
    background-color: var(--primary-dark);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.float-nav-menu {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    visibility: hidden;
    border: 1px solid rgba(231, 76, 60, 0.2);
    margin-top: 5px;
    width: 180px;
}

.float-nav-menu.show {
    max-height: 450px;
    opacity: 1;
    visibility: visible;
}

.float-nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.float-nav-menu li {
    border-bottom: 1px solid #eee;
}

.float-nav-menu li:last-child {
    border-bottom: none;
}

.float-nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 14px 18px;
    display: block;
    transition: var(--transition);
    font-size: 16px;
    white-space: nowrap;
}

.float-nav-menu a:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
    padding-left: 24px;
}

.float-nav-menu a.active {
    background-color: #f8f8f8;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    font-weight: bold;
}

/* 顶部快速导航栏 */
.top-quick-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0;
    text-align: center;
    transition: var(--transition);
}

.top-quick-nav.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.quick-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.quick-nav-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.top-quick-nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.top-quick-nav li {
    flex: 0 0 auto;
}

.top-quick-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.top-quick-nav a:hover {
    background-color: var(--primary-dark);
}

.top-quick-nav a.active {
    background-color: var(--primary-dark);
}

.top-quick-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: white;
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in, .slide-in-left, .slide-in-right {
    opacity: 0;
    transition: all 1s;
}

.fade-in.scrolled {
    opacity: 1;
    animation: fadeIn 1s forwards;
}

.slide-in-left {
    transform: translateX(-100px);
}

.slide-in-left.scrolled {
    transform: translateX(0);
    opacity: 1;
    animation: slideInLeft 1s forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    transform: translateX(100px);
}

.slide-in-right.scrolled {
    transform: translateX(0);
    opacity: 1;
    animation: slideInRight 1s forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .feature-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .footer-section {
        flex: 0 0 calc(50% - 15px);
    }
    
    .hero h2 {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .carousel {
        height: 400px;
    }

    .logo img, .nav-logo img {
        height: 35px;
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .logo img, .nav-logo img {
        height: 30px;
        max-width: 120px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        z-index: 100;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
        max-height: 0;
        padding: 0;
    }
    
    .dropdown-content a {
        padding-left: 30px;
    }
    
    .nav-logo h2 {
        font-size: 18px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .feature-card {
        flex: 0 0 100%;
    }
    
    .carousel {
        height: 300px;
    }
    
    .footer-section {
        flex: 0 0 100%;
    }
    
    .contact-container, .service-points {
        flex-direction: column;
    }
    
    .category-nav {
        gap: 10px;
    }
    
    .category-link {
        width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .hero {
        height: 400px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .carousel {
        height: 200px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .category-link {
        width: calc(50% - 10px);
        padding: 10px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 20px;
        bottom: 20px;
    }
}

/* 首页特有样式 */
/* 快速导航 */
.quick-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 30px 0;
}

.quick-nav-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.quick-nav-item:hover {
    transform: translateY(-5px);
}

.quick-nav-icon {
    width: 70px;
    height: 70px;
    background-color: #f8f8f8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 30px;
    color: #e74c3c;
    transition: all 0.3s;
}

.quick-nav-item:hover .quick-nav-icon {
    background-color: #e74c3c;
    color: white;
}

/* 汉中简介 */
.intro-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.intro-content {
    flex: 1;
    min-width: 300px;
}

.intro-image {
    flex: 1;
    min-width: 300px;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.intro-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

/* 最新活动 */
.latest-events {
    background-color: #f8f8f8;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    display: flex;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.event-date {
    flex: 0 0 100px;
    background-color: #e74c3c;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.event-date .day {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    font-size: 18px;
}

.event-content {
    flex: 1;
    padding: 20px;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    color: #666;
}

/* 旅游资讯 */
.news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.news-item {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.news-content h3 {
    margin-bottom: 10px;
}

.news-link {
    display: inline-block;
    margin-top: 15px;
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.news-link i {
    transition: transform 0.3s;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* 旅游小贴士 */
.tips-section {
    background-color: #f8f8f8;
}

.tips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.tip-box {
    flex: 1;
    min-width: 250px;
    background-color: white;
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.tip-box:hover {
    transform: translateY(-5px);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    color: #e74c3c;
    font-size: 28px;
    transition: all 0.3s;
}

.tip-box:hover .tip-icon {
    background-color: #e74c3c;
    color: white;
}

.tip-box h3 {
    margin-bottom: 10px;
}

/* 用户评价 */
.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 60px;
    color: #e74c3c;
    position: absolute;
    left: -5px;
    top: -20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.rating {
    color: #ffc107;
}

/* 订阅区域 */
.subscribe-section {
    background-image: linear-gradient(rgba(193, 44, 44, 0.8), rgba(139, 0, 0, 0.8)), url('../img/subscribe-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.subscribe-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.subscribe-content {
    margin-bottom: 30px;
}

.subscribe-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

/* 工具类 */
.text-center {
    text-align: center;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .quick-nav {
        gap: 10px;
    }
    
    .quick-nav-item {
        flex: 0 0 calc(20% - 10px);
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-date {
        flex: 0 0 auto;
        flex-direction: row;
        padding: 10px;
        justify-content: center;
        gap: 10px;
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .quick-nav-item {
        flex: 0 0 calc(33.333% - 10px);
        margin-bottom: 15px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .carousel-caption h2 {
        font-size: 24px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .quick-nav-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    .quick-nav-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.loaded .page-loader {
    opacity: 0;
    visibility: hidden;
}

/* 图片悬停效果 */
.hover-zoom {
    overflow: hidden;
    position: relative;
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

.hover-overlay {
    position: relative;
    overflow: hidden;
}

.hover-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.hover-overlay:hover:before {
    opacity: 1;
}

/* 美化滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 文本选择样式 */
::selection {
    background-color: var(--primary-color);
    color: #fff;
}

/* 响应式设计增强 */
@media (max-width: 992px) {
    .feature-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .footer-section {
        flex: 0 0 calc(50% - 15px);
    }
    
    .hero h2 {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .carousel {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        color: var(--text-color);
        border-bottom: 1px solid #eee;
    }
    
    .main-nav a:hover, .main-nav a.active {
        background-color: #f8f8f8;
        color: var(--primary-color);
    }
    
    .main-nav a:after {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 25px;
        right: 15px;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        padding-left: 15px;
        transform: none;
        opacity: 1;
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding-left: 30px;
    }
    
    .hero {
        height: 500px;
        background-attachment: scroll;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .feature-card {
        flex: 0 0 100%;
    }
    
    .carousel {
        height: 300px;
    }
    
    .footer-section {
        flex: 0 0 100%;
    }
    
    .contact-container, .service-points {
        flex-direction: column;
    }
    
    .category-nav {
        gap: 15px;
    }
    
    .category-link {
        width: calc(50% - 10px);
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 400px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .carousel {
        height: 200px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 20px;
        bottom: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* FAQ页面样式 */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 50px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.faq-question:hover {
    background-color: #f0f0f0;
    border-left: 4px solid var(--primary-color);
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
    color: var(--text-color);
    transition: var(--transition);
}

.faq-question:hover h3 {
    color: var(--primary-color);
}

.toggle-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.faq-answer p {
    margin: 15px 0;
    line-height: 1.7;
    color: var(--light-text);
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq-contact {
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.faq-contact h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}
